package org.JWCB.api.service.judge;


import org.JWCB.api.domain.judge.dto.JudgeSubmitDto;
import org.JWCB.api.domain.judge.vo.UserQuestionResVo;
import org.JWCB.common.core.constants.ApiConstants;
import org.JWCB.common.core.domain.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(contextId = "RemoteJudgeService",value = ApiConstants.JUDGE_SERVICE)
public interface RemoteJudgeService {
    @PostMapping("/judge/doJudgeJavaCode")
    R<UserQuestionResVo> doJudgeJavaCode(@RequestBody JudgeSubmitDto judgeSubmitDto);
}
